<!--
/**
*  Quick search form - builds single criterion search through dropdown selection
* 
* @package     Heurist academic knowledge management system
* @link        http://HeuristNetwork.org
* @copyright   (C) 2005-2014 University of Sydney
* @author      Artem Osmakov   <artem.osmakov@sydney.edu.au>
* @license     http://www.gnu.org/licenses/gpl-3.0.txt GNU License 3.0
* @version     4.0
*/

/*
* Licensed under the GNU License, Version 3.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at http://www.gnu.org/licenses/gpl-3.0.txt
* Unless required by applicable law or agreed to in writing, software distributed under the License is
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied
* See the License for the specific language governing permissions and limitations under the License.
*/
-->


<fieldset class="ui-heurist-bg-light">
    <div>
        <div class="header"><label for="sa_rectype">Record type</label></div>
        <select name="sa_rectype" id="sa_rectype" class="text ui-widget-content ui-corner-all" style="min-width:220px"></select>
    </div>
    <div>
        <div class="header"><label for="sa_fieldtype">Field</label></div>
        <select name="sa_fieldtype" id="sa_fieldtype" class="text ui-widget-content ui-corner-all" style="min-width:220px"></select>
    </div>
    <div id="fld_contain">
        <div class="header"><label for="sa_fieldvalue">Contains</label></div>
        <input type="text" name="sa_fieldvalue" id="sa_fieldvalue" class="text ui-widget-content ui-corner-all" />
    </div>
    <div id="fld_enum">
        <div class="header"><label for="sa_termvalue">Is</label></div>
        <select name="sa_termvalue" id="sa_termvalue" class="text ui-widget-content ui-corner-all" style="min-width:220px"></select>
    </div>
    <div>
        <div class="header"><label for="sa_sortby">Sort by</label></div>
        <select name="sa_sortby" id="sa_sortby" class="text ui-widget-content ui-corner-all" style="min-width:220px"></select>
    </div>
    <div>
        <div class="header"><label for="sa_sortasc">Sort direction</label></div>
        <select name="sa_sortasc" id="sa_sortasc" class="text ui-widget-content ui-corner-all" style="min-width:220px">
            <option value="0">Ascending (A..Z, 1..9)</option>
            <option value="1">Descending (Z..A, 9..1)</option>
        </select>
    </div>
<!--    <div>
        <div class="header"><label for="sa_sortasc">Sort Ascending:</label></div>
        <input type="checkbox" name="sa_sortasc" id="sa_sortasc" class="ui-widget-content ui-corner-all" />
    </div> -->
    <br />
    <br />
</fieldset>
